package com.huawei.gamebox.service.welfare.campaign.node;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;
import o.azb;
import o.exp$c;
import o.exp$e;
import o.exp$f;
import o.exp.d;
import o.exp.j;

public class CampaignThreeColumnWelfareNode extends CampaignThreeColumnNode {
    public CampaignThreeColumnWelfareNode(Context context) {
        super(context);
    }

    protected View ˎ() {
        LayoutInflater from = LayoutInflater.from(this.ॱ);
        int i = j.ॱͺ;
        if (ˋ()) {
            i = j.ᐝॱ;
        }
        LinearLayout linearLayout = (LinearLayout) from.inflate(i, null);
        if (!ˋ()) {
            azb.ˏ(linearLayout, d.ˎ);
        }
        TextView textView = (TextView) linearLayout.findViewById(d.ᶥ);
        textView.setText(this.ॱ.getText(exp$f.ᐝॱ));
        if (ˋ()) {
            ((TextView) linearLayout.findViewById(d.ꜞ)).setTextColor(this.ॱ.getResources().getColor(exp$c.ʽ));
            textView.setTextColor(this.ॱ.getResources().getColor(exp$c.ˋ));
            ((ImageView) linearLayout.findViewById(d.ㆍ)).setImageResource(exp$e.ॱˊ);
        }
        return linearLayout;
    }
}
